package com.raycloud.robot.domain.dto;

import java.util.Date;

public class DefaultSetting{
    private Long id;
    private String configKey;
    private String tag;
    private String defaultConfigValue;
    private String bindKey;
    private String frontContent;
    private String description;
    private Boolean isValid;
    private Date updateTime;
    private Date insertTime;
    public Long getId(){
        return this.id;
    }
    public String getConfigKey(){
        return this.configKey;
    }
    public String getTag(){
        return this.tag;
    }
    public String getDefaultConfigValue(){
        return this.defaultConfigValue;
    }
    public String getBindKey(){
        return this.bindKey;
    }
    public String getFrontContent(){
        return this.frontContent;
    }
    public String getDescription(){
        return this.description;
    }
    public Boolean getIsValid(){
        return this.isValid;
    }
    public Date getUpdateTime(){
        return this.updateTime;
    }
    public Date getInsertTime(){
        return this.insertTime;
    }
    public void setId(final Long id){
        this.id=id;
    }
    public void setConfigKey(final String configKey){
        this.configKey=configKey;
    }
    public void setTag(final String tag){
        this.tag=tag;
    }
    public void setDefaultConfigValue(final String defaultConfigValue){
        this.defaultConfigValue=defaultConfigValue;
    }
    public void setBindKey(final String bindKey){
        this.bindKey=bindKey;
    }
    public void setFrontContent(final String frontContent){
        this.frontContent=frontContent;
    }
    public void setDescription(final String description){
        this.description=description;
    }
    public void setIsValid(final Boolean isValid){
        this.isValid=isValid;
    }
    public void setUpdateTime(final Date updateTime){
        this.updateTime=updateTime;
    }
    public void setInsertTime(final Date insertTime){
        this.insertTime=insertTime;
    }
    @Override
    public boolean equals(final Object o){
        if(o==this){
            return true;
        }
        if(!(o instanceof DefaultSetting)){
            return false;
        }
        final DefaultSetting other=(DefaultSetting)o;
        if(!other.canEqual(this)){
            return false;
        }
        final Object this$id=this.getId();
        final Object other$id=other.getId();
        Label_0065:{
            if(this$id==null){
                if(other$id==null){
                    break Label_0065;
                }
            }
            else if(this$id.equals(other$id)){
                break Label_0065;
            }
            return false;
        }
        final Object this$configKey=this.getConfigKey();
        final Object other$configKey=other.getConfigKey();
        Label_0102:{
            if(this$configKey==null){
                if(other$configKey==null){
                    break Label_0102;
                }
            }
            else if(this$configKey.equals(other$configKey)){
                break Label_0102;
            }
            return false;
        }
        final Object this$tag=this.getTag();
        final Object other$tag=other.getTag();
        Label_0139:{
            if(this$tag==null){
                if(other$tag==null){
                    break Label_0139;
                }
            }
            else if(this$tag.equals(other$tag)){
                break Label_0139;
            }
            return false;
        }
        final Object this$defaultConfigValue=this.getDefaultConfigValue();
        final Object other$defaultConfigValue=other.getDefaultConfigValue();
        Label_0176:{
            if(this$defaultConfigValue==null){
                if(other$defaultConfigValue==null){
                    break Label_0176;
                }
            }
            else if(this$defaultConfigValue.equals(other$defaultConfigValue)){
                break Label_0176;
            }
            return false;
        }
        final Object this$bindKey=this.getBindKey();
        final Object other$bindKey=other.getBindKey();
        Label_0213:{
            if(this$bindKey==null){
                if(other$bindKey==null){
                    break Label_0213;
                }
            }
            else if(this$bindKey.equals(other$bindKey)){
                break Label_0213;
            }
            return false;
        }
        final Object this$frontContent=this.getFrontContent();
        final Object other$frontContent=other.getFrontContent();
        Label_0250:{
            if(this$frontContent==null){
                if(other$frontContent==null){
                    break Label_0250;
                }
            }
            else if(this$frontContent.equals(other$frontContent)){
                break Label_0250;
            }
            return false;
        }
        final Object this$description=this.getDescription();
        final Object other$description=other.getDescription();
        Label_0287:{
            if(this$description==null){
                if(other$description==null){
                    break Label_0287;
                }
            }
            else if(this$description.equals(other$description)){
                break Label_0287;
            }
            return false;
        }
        final Object this$isValid=this.getIsValid();
        final Object other$isValid=other.getIsValid();
        Label_0324:{
            if(this$isValid==null){
                if(other$isValid==null){
                    break Label_0324;
                }
            }
            else if(this$isValid.equals(other$isValid)){
                break Label_0324;
            }
            return false;
        }
        final Object this$updateTime=this.getUpdateTime();
        final Object other$updateTime=other.getUpdateTime();
        Label_0361:{
            if(this$updateTime==null){
                if(other$updateTime==null){
                    break Label_0361;
                }
            }
            else if(this$updateTime.equals(other$updateTime)){
                break Label_0361;
            }
            return false;
        }
        final Object this$insertTime=this.getInsertTime();
        final Object other$insertTime=other.getInsertTime();
        if(this$insertTime==null){
            if(other$insertTime==null){
                return true;
            }
        }
        else if(this$insertTime.equals(other$insertTime)){
            return true;
        }
        return false;
    }
    protected boolean canEqual(final Object other){
        return other instanceof DefaultSetting;
    }
    @Override
    public int hashCode(){
        final int PRIME=59;
        int result=1;
        final Object $id=this.getId();
        result=result*59+(($id==null)?43:$id.hashCode());
        final Object $configKey=this.getConfigKey();
        result=result*59+(($configKey==null)?43:$configKey.hashCode());
        final Object $tag=this.getTag();
        result=result*59+(($tag==null)?43:$tag.hashCode());
        final Object $defaultConfigValue=this.getDefaultConfigValue();
        result=result*59+(($defaultConfigValue==null)?43:$defaultConfigValue.hashCode());
        final Object $bindKey=this.getBindKey();
        result=result*59+(($bindKey==null)?43:$bindKey.hashCode());
        final Object $frontContent=this.getFrontContent();
        result=result*59+(($frontContent==null)?43:$frontContent.hashCode());
        final Object $description=this.getDescription();
        result=result*59+(($description==null)?43:$description.hashCode());
        final Object $isValid=this.getIsValid();
        result=result*59+(($isValid==null)?43:$isValid.hashCode());
        final Object $updateTime=this.getUpdateTime();
        result=result*59+(($updateTime==null)?43:$updateTime.hashCode());
        final Object $insertTime=this.getInsertTime();
        result=result*59+(($insertTime==null)?43:$insertTime.hashCode());
        return result;
    }
    @Override
    public String toString(){
        return "DefaultSetting(id="+this.getId()+", configKey="+this.getConfigKey()+", tag="+this.getTag()+", defaultConfigValue="+this.getDefaultConfigValue()+", bindKey="+this.getBindKey()+", frontContent="+this.getFrontContent()+", description="+this.getDescription()+", isValid="+this.getIsValid()+", updateTime="+this.getUpdateTime()+", insertTime="+this.getInsertTime()+")";
    }
}
